package com.github.pig.admin.entity;

import java.io.Serializable;

import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * <p>
 * 
 * </p>
 *
 * @author hj
 * @since 2018-03-06
 */
@TableName("tbz_video")
public class TbzVideo extends Model<TbzVideo> {

    private static final long serialVersionUID = 1L;

	private String id;
    /**
     * 视屏名称
     */
	private String name;
    /**
     * 所属类别
     */
	private String type;
    /**
     * 价格
     */
	private BigDecimal price;
    /**
     * 浏览量
     */
	@TableField("watch_num")
	private String watchNum;
    /**
     * 图片地址
     */
	@TableField("img_path")
	private String imgPath;
    /**
     * 视屏地址
     */
	@TableField("video_path")
	private String videoPath;
	private String remark;
	@TableField("create_by")
	private String createBy;
	@TableField("update_by")
	private String updateBy;
	@TableField("update_date")
	private Date updateDate;
	@TableField("create_date")
	private Date createDate;
	@TableField("buyer_id")
	private String buyerId;
	@TableField("video_price_type")
	private String videoPriceType;


	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public BigDecimal getPrice() {
		return price;
	}

	public void setPrice(BigDecimal price) {
		this.price = price;
	}

	public String getWatchNum() {
		return watchNum;
	}

	public void setWatchNum(String watchNum) {
		this.watchNum = watchNum;
	}

	public String getImgPath() {
		return imgPath;
	}

	public void setImgPath(String imgPath) {
		this.imgPath = imgPath;
	}

	public String getVideoPath() {
		return videoPath;
	}

	public void setVideoPath(String videoPath) {
		this.videoPath = videoPath;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getCreateBy() {
		return createBy;
	}

	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public String getUpdateBy() {
		return updateBy;
	}

	public void setUpdateBy(String updateBy) {
		this.updateBy = updateBy;
	}

	public Date getUpdateDate() {
		return updateDate;
	}

	public void setUpdateDate(Date updateDate) {
		this.updateDate = updateDate;
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setCreateDate(Date createDate) {
		this.createDate = createDate;
	}

	public String getBuyerId() {
		return buyerId;
	}

	public void setBuyerId(String buyerId) {
		this.buyerId = buyerId;
	}

	public String getVideoPriceType() {
		return videoPriceType;
	}

	public void setVideoPriceType(String videoPriceType) {
		this.videoPriceType = videoPriceType;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "TbzVideo{" +
			", id=" + id +
			", name=" + name +
			", type=" + type +
			", price=" + price +
			", watchNum=" + watchNum +
			", imgPath=" + imgPath +
			", videoPath=" + videoPath +
			", remark=" + remark +
			", createBy=" + createBy +
			", updateBy=" + updateBy +
			", updateDate=" + updateDate +
			", createDate=" + createDate +
			", buyerId=" + buyerId +
			", videoPriceType=" + videoPriceType +
			"}";
	}
}
